package com.zj.dao;

import com.zj.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserDao {
    List<User> selectAll();

    @Select("select * from student where studentid = #{id}")
    User selectByDId(int id);
}
